export const ZxCalendarOptions = {
    // element selector or element, calendar will be append this `el`
    el: '#app',
    // calendar's types, options date/month/year
    type: 'month',
    // zh/jp/en that week and button text languages
    lang: 'zh',
    // Whether to display the full name of the week, `Mon` -> `Monday`/ 星期一(省略形式: 一)
    isFullWeek: false,
    // header title display format
    // type is date: yyyy/MM
    // type is month: yyyy
    // type is year: yyyy-yyyy
    titleFormatter: 'yyyy年MM月',
    // item suffix, 日/月/年
    itemSuffix: null,
    // default selected date
    // yyyy-MM-dd, yyyy/MM/dd, yyyy, timestamp, Array
    defaultDate: null,
    // selectable date range array
    // [startDate, endDate]
    dateRange: [],
    // show holiday info
    showHoliday: false,
    // function, custom item handler
    // return object {text: string, value: number, fullText: string, disabled: boolean, ...}
    itemFormatter: null,
    // Selection mode, options single/multiple/range
    mode: 'single',
    // language package, used when formatting dates
    langPackage: {
        confirmButton: 'ok',
        cancelButton: 'cancel',
        clearButton: 'clear',
        weeks: ["日", "一", "二", "三", "四", "五", "六"]
    },
    // footer buttons
    // show clear, cancle and confirm button when mode=multiple/range
    footerButtons: ['clear', 'cancel', 'confirm'],
    // only show confirm button
    // footerButtons: ['confirm'],
    // change button display order
    // footerButtons: ['confirm', 'clear', 'cancel'],
    // ...
    // justify-content
    footerButtonAlign: 'flex-end',
    // hide buttons of footer when mode is multiple/range
    hideFooter: false,
    // colors
    colors: {
        primary: 'rgb(64, 158, 255)',
        // next/prev arrow color
        arrow: '#999',
        // holiday dot color
        holidayDot: 'rgba(0, 0, 0, 0.2)',
        // today/this month(year) item background color
        currentItemBg: '#eee',
        // white color
        white: '#fff',
        // selected range items background color
        rangeBg: '#eee',
    },
}